//
//  QWUrls.h
//  qwm
//
//  Created by kevin on 2023/3/23.
//

#ifndef QWUrls_h
#define QWUrls_h



#ifdef DEBUG//测试环境
#define QWM_DOMAIN  @"gaiwo.belovedlive.com"
#define QWM_BASE_API_URL @"http://gaiwo.belovedlive.com:8098"
//#define QWM_DOMAIN  @"124.115.217.70"
//#define QWM_BASE_API_URL @"http://124.115.217.70:8098"
//#define EaseIMAppKey_PROD  @"1145210608051818#medical-doctor" //环信key
#define EaseIMAppKey_PROD  @"1133230426161487#coffeeinfo" //环信key

#else//正式环境
#define QWM_DOMAIN  @"gaiwo.belovedlive.com"
#define QWM_BASE_API_URL @"http://gaiwo.belovedlive.com:8098"
//#define EaseIMAppKey_PROD  @"1145210608051818#medical-doctor" //环信key
#define EaseIMAppKey_PROD  @"1133230426161487#coffeeinfo" //环信key

#endif

#define Bugly_ID  @"e5bcdce345" //腾讯bugly，崩溃日志记录

#define URL_Error @"网络异常，请重试"

/**登录**/
#define URL_login @"/boke/applogin_mlogin.do" //登录
#define URL_register @"/bokehall/user/submitRegister" //注册
#define URL_SEND_OTP @"/bokehall/user/sendmessage" //获取验证码
#define URL_RESET_PWD @"/bokehall/user/retrievePassword" //重置密码

/**首页**/
#define URL_DOCTOR_LIST @"/bokehall/all/doctorList" //医生列表
#define URL_BANNER @"/boke/resfile/banner_config.json" //banner
#define URL_DOCTOR_INFO QWM_BASE_API_URL@"/boke/user_findone.do" //医生详情
#define URL_GetUser_INFO @"/bokehall/user/getUser" //医生详情
#define URL_my_addAttention @"/bokehall/my/addAttention" //关注医生

/**资讯**/
#define URL_Health_List @"/bokehall/health/healthlist"
#define URL_Health_Detail @"/bokehall/health/detail" //资讯-详情-无用
#define URL_Resfile_Openqa @"/boke/resfile/openqa.json"
/**消息**/

/**我的**/
#define URL_FEEDBACK @"/boke/user_report.do" //后续反馈
#define URL_UPLOAD_IMAGE @"/bokehall/my/uploadImage" //头像上传
#define URL_UPDATE @"/bokehall/my/updateOne" //更改个人信息
#define URL_MENUS_ON_ME_PAGE @"/boke/resfile/meMenuAllConfig.json" //我的-菜单

/*
 *聚合数据-https://www.juhe.cn/
 */
#define URL_JUHE_Healthtip @"http://apis.juhe.cn/fapigx/healthtip/query?key=e37b0428981b4c55edab6ae3a769b413" //健康小提示

//隐私协议
#define URL_Login_PrivacyService QWM_BASE_API_URL@"/boke/resfile/privacyServiceTermsBBS_0509.html"
//服务协议
#define URL_Login_UserAgreement QWM_BASE_API_URL@"/boke/resfile/userAgreementBBS_0509.html"


#endif /* QWUrls_h */
